extends "../cex___toolman/cex___toolman.gd"
func _info():
	pass

func _connect():
	._connect()
var hasplus = false
func _extInit():
	._extInit()
	chaName = "榛子树"
	lv = 2
	attCoe.atkRan = 0
	attCoe.atk = 0
	attCoe.maxHp = 500 / 112.5 / 2
	aiOn = false
	addSkillTxt("[color=red]无法移动，无法攻击[/color]\n每秒为随机两个友方添加一层<提神>[增伤+10%，持续5秒，不可叠加效果]")
	
func _upS():
	._upS()
	var chas = getAllChas(2)
	var chas1 = rndChas(chas,2)
	if !chas1.has_method("size"):
		chas1.addBuff(BF.new(1))
		return
	if !chas1.size():return
	for i in range(2):
		if i >= chas1.size():break
		chas1[i].addBuff(BF.new(1))
		
class BF:
	extends Buff
	func _init(lv):
		attInit()
		life = lv * 5
		att.atkR = 0.1